@import "../../../Common/Common";

.refreshCss {
  @extend .gMain;

  .refreshAnimation {
    width: 100%;
    display: none;
    @extend .gWebkitBoxCenter;

    div {
      @extend .gImageCenter;
      background-image: url('../svg/loading.svg');
      height: 40px;
      width: 40px;
    }
  }

  .hideRefresh {
    //display: none;
  }

  .showRefresh {
    display: -webkit-box;
  }

  .loadingMoreDataAnimation {
    width: 100%;
    position: relative;

    .spinner {
      //margin: 100px auto 0;
      //width: 70px;
      text-align: center;

      > div {
        width: 18px;
        height: 18px;
        background-color: #333;

        border-radius: 100%;
        display: inline-block;
        -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
        animation: sk-bouncedelay 1.4s infinite ease-in-out both;
      }

      .bounce1 {
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
      }

      .bounce2 {
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
      }
    }
  }

  .hideLoadMore {
    display: none;
  }

  .loading {
    @extend .gImageCenter;
    background-image: url('../svg/loading.svg');
    height: 40px;
    width: 40px;
  }

  .otherAni {
    position: relative;
    // border: 1px solid;
    transition: .2s;
    transform: translate3d(0px,0px, 0px);

    &.hide {
      display: none;
    }

    > div:first-child {
      position: absolute;
      text-align: center;
      // padding: 10px;
      width: 100%;
      bottom: 0;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}
@-webkit-keyframes sk-bouncedelay {
  0%,
  100%,
  80% {
    -webkit-transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1.0);
  }
}
@keyframes sk-bouncedelay {
  0%,
  100%,
  80% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
